<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<style>
.errorMessage {
  color: red;
}
</style>
</head>
<body>
<h2>Enter your details.</h2>
<s:form action="/common/addCustomerAction" >
    <s:hidden name="id" value="%{defaultIdKey}" />
	<s:textfield name="custName" label="Name " value="%{defaultNamevalue}"/>
	<s:textarea name="address" label="Address " value="%{defaultAddress}" cols="30" rows="5" />
	<s:radio name="gender" label="Gender " list="genderList" value="defaltGenderValue"  />
    <s:select name="item" list="itemList" headerKey="" headerValue="select the item"
         label="Select an Item " value="defaltItemValue" />
<s:submit name="submit"/>
</s:form>
</body>
</html>